package test;


abstract class ABS
{
	
}




public class Hancock {

	public static void parse(String str) 
	{
		float f = 0F;
		try 
		{
			f = Float.parseFloat(str);
		} 
		catch (NumberFormatException nfe) 
		{
			f = 0;
		} 
		finally 
		{
			System.out.println(f);
		}
	}

	public static void main(String[] args) {
		parse("invalid");
	}

}
